set leclasspath=..\bin;..\lib\java-cup-11a-runtime.jar;..\lib\java-cup-11a.jar;..\lib\JFlex.jar
set mainjava=Main

cls




echo off
(

FOR  %%f in (  ..\jmm\ko\*.jmm )  DO (
 echo **********************************************                 
 echo                    KO
 date /t
 time /t
 echo %%f
 echo **********************************************                 
 echo *                                            * 
 java -classpath %leclasspath% %mainJava% %%f  
 echo *                                            * 
 echo *                                            * 
 echo *                                            * 
)




FOR  %%f in (  ..\jmm\ok\*.jmm )  DO (
 echo **********************************************                 
 echo                    OK
 date /t
 time /t
 echo %%f
 echo **********************************************                 
 echo *                                            * 
 java -classpath %leclasspath% %mainJava% %%f  
 echo *                                            * 
 echo *                                            * 
 echo *                                            * 
)


) > log.txt

 pause